Just a few corrections; when one uses .gitignore, one does indeed exclude certain files from being put into git, but git still copies everything that has been put into git.
You selectively misquoted, seemingly in order to leverage a strawman. Please don’t do that.
And strictly speaking, files excluded by means of .gitignore could be relevant or irrelevant; their exclusion has nothing to do with relevance. Its all down to the contents of .gitignore.
Also, it is not Github which allows ‘branching and merging’. Git does that. Git is software which creates and accesses Git repositories. Github is a company which provides storage for Git repositories for people to use in conjunction with Git. Git can operate entirely independently of Github.
Also, a pet peeve about grammar; please learn more about it.
‘u’ is grammatically incorrect for ‘you’, ‘it’ is grammatically incorrect for ‘it is’ and ‘i’ is grammatically incorrect for ‘I’, all things wrong in your post, and thus things which you would expect to notice in *many other posts (*not ‘many of other posts’)
But while you’re in that glass house, lobbing rocks, GameDevCouple didn’t use ‘your’ incorrectly in their post above. The inflated post count belongs to you, so it is your inflated post count. They didnt use ‘its’ incorrectly, the ability to revert belongs to git so in relation to git, you are talking about its ability to revert. ‘Your’ and ‘its’ are what are called ‘possessive determiners’; they indicate something possesses something else, be that as an attribute or ownership or whatever.
‘You’re’ is a shortened form of ‘You are’. 'It’s’ is a shortened form of ‘It is’. Neither of these are correct when used to indicate a thing which possesses another thing.
Pronouns: possessive ( my, mine, your, yours, etc.) - Cambridge Grammar?
So that thing you say you notice; you’re actually getting it wrong. And it’s because your understanding of grammar is incomplete; its limitations are noticeable and don’t support you in trying to position yourself as a grammar authority.
So to reiterate: Please be careful about giving incorrect advice to people, and try to google what you are talking about before trying to seem like you know things. That way people wont get the wrong advice.
Oh, and don’t call me ‘sir’ as you always seem to do when corrected. Cheers.