detect native git branch