A problem occurred while I `git push` to my git server on ec2.
I handled this by following this three guide of which their original links are:
Sorry for missing out the second source link, I will add that later.
Firstly, check your url if it’s right. If it’s outdated, update it with:
git remote set-url origin git://new.url.here