Fixed Git branch detection

New version of git has new string to check for