What does origin mean in git?

git origin master what are the origin and master here, respectively?

Aug.11,2021

origin is the default remote version library name
you can modify it in .git / config
master is the default main branch name


origin corresponds to the alias of your repo address

~/coding/feeluown > git remote -v
origin    git@github.com:cosven/feeluown.git (fetch)
origin    git@github.com:cosven/feeluown.git (push)

master is the branch name.

Menu