This Python script creates a git repo with your tweets. Obviously its limited by Twitter API limitations as you cannot retrieve more than 3200 tweets at a time.
Given the fact that Twitter doesn't give a fuck about our data, you may not find your old tweets ever again. So nothing is better than keeping an archive of tweets as a Git repo.
This is inspired by @holman's tweets repo. But this doesn't have a dependency on Madrox. Just plain Python and Git.
To create an archive of tweets initiate a git repo in a directory with git init. Then put the script in the directory and execute:
python mytweets.py username
This will update your archive. To view your tweets anytime use git log.
WARNING
This will notify everyone whose twitter handle is the same as their github handle. Annoyed a lot of people...