I found that the issue was that I had not added the files to the update as well as a message. I fixed this by using the following commands:
git add .
and then
git commit -m "updates done by..."
and then
git push origin <repo_name>
Hope this helps someone 😉