"The tip of your current branch is behind its remote counterpart" means that there have been changes on the remote branch that you don’t have locally. And Git tells you to import new changes from REMOTE and merge it with your code and then push it to remote.
However, I have tried everything and get the message that everything is up to date
Though I am not able to do push to Heroku with an update anymore as I keep getting the message:
Git Updates were rejected because the tip of your current branch is behind
I tried git push --force origin main
Tried pulling and merging
Even did a hard reset but absolutely nothing works and I need to deploy the API changes to Heroku but to no avail. Can anyone help me get unstuck please?