This is all about setting up GIT repository to behave in such a way that all developers can push their changes and can pull others changes from central shared repository, ultimately they are going to clone the repository into their local location and each user's "working copy" will itself be a fully-fledged Git repository but to make the code changes centralized they have to push and pull to the central repository that can be on a remote server. e.g. http://source.example.com , we will call this server as source.
Working in a collaborative environment where code branches are merged and deleted over a passage of time results in orphan branches on developer's local instance, which clutters the local repository and looks a bit unorganized. There are number of ways to prune those purged/deleted branches.
Subscribe to GIT