% git # Fixup commit git commit --fixup # Rebase git rebase -i # Checkout git checkout # Delete a branch git branch -d # Get the remote url of origin git remote get-url origin $ commit_id: git log --pretty=reference --- --column 1 --delimiter '\s' $ branch: git branch | awk '{print $NF}'