My local repository has about 500 files and a total size of about 125MB. I initialized a git repository on storage provided by "http://repositoryhosting.com/".
I did the following steps via Git GUI
- git commit (of my local repo)
- git remote add
- git push
It said that it uploaded onto the Remote Repo and I could see the files, but the repo now had a size of only 26 MB.
I tried to git clone and git pull on two different occasions on another machine from the remote repo. They seemed to download exactly the 26MB that was on the Remote repo. But when I check the size of the folder on the machine, it shows that it is 125MB.
Questions:
- Does 'git push' compress data while uploading to Remote Repo?
- Am I losing data?
- If I'm trying to make a copy of the Remote Repo on multiple local machines so that multiple people can work on the same project, do I use Git Clone or Git Pull?