I have lots of scrappy little bash and python scripts that live in ~/bin. I have been trying to keep tabs on them using git but I don't seem to have a good strategy for doing this yet.
Should one:-
1 - Have a separate 'development' directory where one mucks around with the scripts and keep that directory under git. Then, when tested copy the script to ~/bin.
2 - Simply put ~/bin under git.
The second approach is much easier in some ways and most of the scripts are pretty trivial (but easier to test when in their proper place).
... and/or are there any git commands/tools to help one do this?