Use a faster way to get the current git branch