1. Home
  2. Git
  3. Branch from a commit

You can create a new branch from any previous commit by running the following code.

#git
git branch new-branch-name {SHA-1 checksum of a commit}
copy
Full Git cheatsheet