function to view current git branch on github