Added unit tests for GIT Repository, fixed a bug in the cloner
Fixed bug in last commit detection