Take repo path as second argument to Commit class