I did this presentation about git in school & wanted to show a couple things you can do with plumbing commands.
For that I needed an automatically refreshing tree view of the .git-directory (the actual repository).
No biggie, simple script:
        while true
            tree -a $1
            sleep $2
The first parameter is the directory to watch, the second specifies the number of seconds until the next refresh.

Code on GitHub