Corrects typo in comment
Add function to get number of commits and update a repository