Use [Git bundles][git-bundle] to share code and its commit history as a single file. One person can obtain the repository from its hosted server; everyone else can browse, commit, and exchange changes without access to that server.
The commands below work unchanged in Bash and PowerShell, on Windows and most *nix shells, with Git installed. Replace the example file, directory, and branch names as needed. Quote paths that contain spaces as needed per shell.