It seems that there are changes in bitbucket server and not available on your machine.
The error says "git pull" before pushing because the someone else has pushed new code to the remote server and currently you dont have the latest version locally on your machine.
So git pull and after integrating your new code with their new code you can push safely
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events