>>jamal-+(OP)
But also, and more relevantly here, git is designed to be usable
entirely offline. And if you do need to have some connection with remotes, git allows you to do so extremely sporadically if your network connectivity, or remote availability, is limited.