commit a branch