error: RPC failed; result=22, HTTP code = 413
fatal: The remote end hung up unexpectedly, gitlab large file size push issue
Steps :
1) Upgrade gitlab with latest version. Right now current version is 8.12.4
2) Increase file size in /etc/gitlab/gitlab.rb under nginx section.
nginx['enable'] = true
nginx['client_max_body_size'] = '250m'
3) Increase max attachment size in http://gitlab.domain/admin/application_settings
4) Reconfigure gitlab and restart system.