'Have problems with Git Push

I have forked a github repository containing a R and markdown file and downloaded and unzipped on my local machine. I have updated the R file. To upload to the same GitHub repository, I have successfully performed the following functions

$ git add .
$ git commit -m "edited ....."
# git log shows the commits
$ git remote add origin "[email protected]:ABBuriro/ProgrammingAssignment2-master.git"

However, whenever try to use git push origin master, get error ![rejected] master -> master (non-fast-forward)

Help is always Appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source