how to find current branch in git code example Example: how to get current git branch git branch --show-current