How to push changes on workspaces?

I have made some changes to the workspaces in my local. So how can I commit the changes and push to the server so that my website on the server also reflects the changes that I made to the workspace in my local? I tried running git status, but it doesn’t show any changes.