I have a project in local, I ran git init from remote. I ran git status and got nothing to commit, working directory clean then ran git push root@mysite.com:/home/mysite/public_html/.git master from local. It returned cdf0879..d49d488  master -> master which means pushing was successful. In order to get sure that it has pushed correctly I ran it again and the returned value was Everything up-to-date. I updated a file named script.js and ran git add . then git commit -m "First Edit" then git push root@mysite.com:/home/mysite/public_html/.git master However when I run git status from remote it returns:
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#       modified:   script.js
How can I fix it that if I add, commit and push from local to update remote too?
 
    