Okay, here's a weird one!
I have this nifty little 32gig thumbdrive that I keep in my wallet that contains all the latest of EVERY file I need to go about life on a computer. It contains all my BASH command references, everything from rubiks cube algorithms to PDFs I use for references and digital books and all the software I've ever written. Friend need their computer fixed all of a sudden? BANG! I got it covered with the software in my left pocket. Sweet huh?
Well I want to keep track of every change I make to the repo as well as have constant backups of it. Git works pretty well for this, except that it copies all my files and inflates the repo's size drastically! This isn't really a big problem but it is annoying. I know Git is used for software repos and I'm cool with that (Thats what I primarily use it for anyways)
So I was thinking, could I somehow as a git nub use git to record changes I made to the repo but NOT keep a running copy of every actual change but only keep the HEAD version? So when I do a push/pull the repo would be backed up with all my comments but ONLY what is in the active directory tree within the flash drive would be saved in the Git repository? So there wouldn't be duplicate binary entries, if I removed a .exe file it would log it but get rid of the file forever?
Maybe there is a better way of doing this without using git? For instance I WAS using 7ZIP to compress and make backups manually, then saving them to a cloud server for backup redundancy. That was time intensive and much more annoying than a simple:
git add .
git commit -m "changes"
(git gc)
git push
Any help would be greatly appreciated!