I\'ve added a remote repository to the folder where I am working with :
git remote add origin https://github.com//.git
You need to either reset or commit your changes first:
reset
commit
git reset --hard
or:
git commit -m "saving changes..."
Then you can do:
git pull origin master --allow-unrelated-histories