Swap in better method of retrieving git current branch name