I'm unable to push code into a git server. Please find errors which is shown while pushing into git.
Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 457 bytes, done.
Total 4 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
fatal: Unable to create '/home/gituser/GIT/poc.git/refs/heads/master.lock': Permission denied
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Using an Redhat 6 , nginx. Please provide a solution to solve this error. Thank you all in advance.