Find Git branch name in post-update hook [duplicate] Find Git branch name in post-update hook [duplicate] shell shell