Add getting commits support for git repository