Recently, both our Git remotes (one a production server, and the other a staging one) cause issues when pushing changes.
git add <list of untracked files> git commit -m <message> git push <remote> <remote active branch>
git status On branch <active branch> Untracked files: (use "git add <file>..." to include in what will be committed) .... all the files that have been committed ....
We are not sure what could've changed in the recent weeks because everything worked fine before.
We currently fix this by connecting to the remove server and executing
git reset --hard HEAD
Why is this happening and how can we fix this?