Windows Subsystem for Linux – Use git on a shared drive in WSL

I have a drive connected to the network. T: that I can access via Windows File Explorer or GitBash just fine. But in WSL I can not use git to push a remote control on the drive. Here is my workflow:

Mount the remote drive

sudo mkdir /mnt/t
sudo mount -t drvfs T: /mnt/t -o uid=kkovacs -o gid=kkovacs

Create the remote repo

cd /mnt/t/MyFolder
mkdir remote_repo
cd remote_repo
git init --bare

Create the local repo and add the remote control

cd ~
mkdir local_repo
cd local_repo
git init
git remote add origin /mnt/t/MyFolder/remote_repo

Add a new file to the local repository, write it down and try to push

touch asdf
git add asdf
git commit -m "added asdf"
git push origin master

The output of the push command is as follows:

Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 6.72 KiB | 573.00 KiB/s, done.
Total 11 (delta 0), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database /mnt/t/MyFolder/remote_repo/./objects/incoming-p5fut6
remote: fatal: failed to write object
error: remote unpack failed: unpack-objects abnormal exit
To /mnt/t/MyFolder/remote_repo/
 ! (remote rejected) master -> master (unpacker error)
error: failed to push some refs to '/mnt/t/MyFolder/remote_repo/'

I also checked with ls -l that I am the owner of all files everywhere. It all works well with GitBash, but I want to use WSL.