Git Local Repo upload to the github :
- Using https authentication method
- Git ssh method
- Git GUI authentication method
- SSO authentication directly from IDE’s(Visual studio code, Eclipse, Sublime text)
Mostly uses https method, now will see how it’s works:
- When we want to upload the git local repository to github remote repository, we need to authenticate to the github using credentials
- When we done changes in local repo
- next at the stage of pushing to remote remo with url
- It asks for authentication
(i) Opens a window, asks to login with github credentials
or
(ii) Gitbash Github authenticatin with token :