Setup a git repository on your local and remote servers together, So that you can manage and upload your website directly from your local git repo to online repo.
this snippet will provide you with a remove remote snippet to remove remote url from github
In this snippet I will explain how to create connection between local git, github and remote server