git init
git remote add origin GITHUB_REPO_LINK
git pull origin master
Pull the .gitignore and README.md files from github
(Create a local branch, put all your changes to that branch and finally push that branch to github)
git checkout -b NAME_OF_NEW_BRANCH
git add .
git commit -m "Description of modified or created archives"
git push -f origin NAME_OF_NEW_BRANCH
(This commands will remove all your added changes saved on cache and then add those changes again but with .gitignore taking into account)
git rm -rf --cached .
git add .
git push origin --delete NAME_OF_BRANCH
(Create tag and push to Github repo)
git tag NAME_OF_TAG -a
It will open a file, and there you put your tag description. Similar to a README filegit push --tags
Push tag to github repo