Test branch function for Git