Enable to get all commits

This is a step to replace 'grit' with 'gitlab_git' in the following code.

https://github.com/gitlabhq/gitlabhq/blob/master/app/models/network/graph.rb#L113