Is there no way to check the history of "git clone", "git push", and "git pull" commands?


I need to check the history of commands used by “git clone”, “git push”, “git pull” and etc… to see who downloaded the source code.

I’ve checked the following files.

/var/log/gitlab/nginx/gitlab_access log

But there is no record of specific actions taken.
While working on “git clone”, even after reading through those files, only the log for ‘git-upload-pack’ is recorded.

Please tell me what I’m missing


Auditing functionality in Gitlab only comes with a paid subscription of premium or higher, so if you only have a free account, then it’s not possible for you to do this. Check here: Audit events | GitLab

1 Like