Adjust Magic Mouse Speed

defaults read -g
Shows what the current speed is (default max is like 3.0)
defaults write -g 8.0
Changes speed to 8.0. Adjust value according to your preferences.
Restart may be required.

Applying .gitignore to Committed Files

1. Add / remove files to .gitignore 2. [optional] See files that are included in the exclude list:
git ls-files -ci --exclude-standard
3. Remove the committed files from repository (doesn’t remove the actual files from disk, only de-commits them)
git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached