github remote push code example

Example 1: git remote

git remote add origin <repository url> # adds a repo to your project

git remote								# lists all the repos of your project
git config --get remote.origin.url		# prints the url of a repo
git push origin master					# updates the master branch of your repo

git remote remove origin				# removes the repo from your project

Example 2: pushing to github

git add .
git commit -m "First commit"
git push origin master

Example 3: git remote push

git push  <REMOTENAME> <BRANCHNAME>

Example 4: git push remote

git push -u origin master // where 'master' is branch name

Example 5: how to push existing project to github

git remote add origin 
      https://github.com/asd/FinraDeck.git (github adresi)git push -u origin master