Git can be installed on Linux, Mac and Windows systems
Install from https://git-scm.com/
There are hosting services which helps to host the git repositories on internet and you can host your repos on these for collaborative developement with other programmers.
Examples :
github
bitbucket
gitlab
azure devops
You need to register yourself on these platforms to start using