A tool to backup and restore your git projects and not duplicate what is stored remotely.
cd my_project
git backup
git restore my_project.tar
--no-default - Don't include default options.
--all - Will turn on all options.
--config (default) - Include config (./.git/) files in backup.
--no-config - Don't include such files in backup.
--hooks (default) - Include hooks (./.git/hooks) files in backup.
--no-hooks
--branches (default) - Include local branches (upto commits stored remotely).
--no-branches
--staches (default) - Include stashed changes in backup.
--no-staches
--cached (default) - Include cached changes in backup.
--no-cached
--changes (default) - Include working directory changes in backup.
--no-changes
--untracked - Include untracked files in backup.
--no-untracked (default)
--ignored - Include ignored files in backup.
--no-ignored (default)
--work-tree <path> - Set the path to the working tree. By default, the
current directory is used, or GIT_WORK_TREE if set."
backup_file - The tar file generated by git backup.