Rename branch
git branch -m <oldname> <newname>
or Rename a current branch
git branch -m <newname>
Edit Commit
git commit --amend
git commit --amend -m "New commit message"
Chech out Comit From the other branch
git cherry-pick some-commit