Branch and Commit trial, fixes #1

to address the branching and committing changes.