Update a branch for git