aaP_it.dept
try to run this step in terminal , first try step 1, if doesnot work then go to 2nd so on
step 1
sudo git config --system --add safe.directory /www/wwwroot/your_web_url
step 2
git config core.filemode false
step 3
orce clean deploy (optional but recommended)
If GitHub is your only source of truth, run once when setting up repo:
git reset --hard HEAD
git clean -fd
🔹 If you have multiple projects (recommended)
Run this once more:
sudo git config --system --add safe.directory /www/wwwroot/*
also please tell me which one work, and its work or not