
Get current Git branch of repository
get_git_branch.RdReads the .git/HEAD file and returns the current branch name,
or "DETACHED" if the repository is in detached HEAD state.

get_git_branch.RdReads the .git/HEAD file and returns the current branch name,
or "DETACHED" if the repository is in detached HEAD state.