Greebo
(Greebo)
4
That is definitely not the case 
GitHub is just a public place to host git repoâs. What is on your machine is simply a copy of a git repo. If youâre the only one with write access to the git repo you push up to Github, then only you can make changes in there. Otherâs can submit âPull Requestsâ (PRs) to suggest changes but you have the say on whether you accept those or not.
As for your machine, all activity on the git repo on your machine is controlled locally, either edits, or âpullsâ from the gitHub repo if you choose to accept PRs.
[EDIT] Itâs worth adding that you donât have to use GitHub to use git for version control. I have numerous git repoâs that are only on my computer.
Nah, its first thing in the morning!
2 Likes