Cleaned up a bit.
Added functionality for merging the CT with the repository that has just been pushed to. This has not been tested.