Pass git directory as an argument

Because "last_commit_time" it too generic. There are two git
repository in the context.