Functions to update local branches in git projects from master