Committing before branching