git internals - raisercostin/raisercostin.github.io GitHub Wiki

When syncing projects (kept in .git) over dropbox and google drive you do not want that the git objects history to be modified: git config --local gc.auto 0. See also https://stackoverflow.com/questions/28092485/how-to-prevent-garbage-collection-in-git