Added code which allows changing of branches and associating that with the given commits