How to get the current branch name in Git? May 4, 2022 by Tarik How to get the current branch name in Git?