Add creation and deletion of branches

Added new code which can handle adding and deleting branches from a
git repository.

Tests which prove it work:
 - Calling createBranch function creates a new branch verified that the
new branch shows up when using "git show-ref"

 - Calling deleteBranch function removes a new branch verified that the
a branch can be removed by calling git show-ref before and after call.