NextCloud not syncing .git folder

I have some web hosting where i installed NextCloud using Softaculous installer but I can’t make it sync my .git folders. I have removed any ignored files in the desktop client that reports “Error transferring https://…/.git server replied: (skipped due to earlier error, trying again in 54 minute(s)”. I can’t find any error server-side. I have tried creating hidden folders that sync without issue. The .git folders are generated by Atom.

Could there be some additional issue with the content of a .git folder that I’m missing other than it being hidden?

Are there any weird file permissions?

Not really, here is from within the .git folder

ls -la
total 48
drwxr-xr-x.  7 usrname usrname 4096 Nov 26 10:44 .
drwxr-xr-x.  5 usrname usrname 4096 Nov 28 17:29 ..
-rw-r--r--.  1 usrname usrname   42 Nov 26 10:44 COMMIT_EDITMSG
-rw-r--r--.  1 usrname usrname   92 Nov 18 10:47 config
-rw-r--r--.  1 usrname usrname   73 Nov 18 10:47 description
-rw-r--r--.  1 usrname usrname   23 Nov 18 10:47 HEAD
drwxr-xr-x.  2 usrname usrname 4096 Nov 18 10:47 hooks
-rw-r--r--.  1 usrname usrname 2908 Nov 26 10:44 index
drwxr-xr-x.  2 usrname usrname 4096 Nov 18 10:47 info
drwxr-xr-x.  3 usrname usrname 4096 Nov 18 10:48 logs
drwxr-xr-x. 52 usrname usrname 4096 Nov 26 10:44 objects
drwxr-xr-x.  4 usrname usrname 4096 Nov 18 10:47 refs

Hi,
do you have any result or hint about this issue? I’m facing same problem and getting permission denied error when Nextcloud is syncing the git folder. How did you solve it?

I didn’t solve it unfortunately =(