Refactore in git.coffee and create a unit test