Watch out, it is no longer maintained.
I used Staticman for a couple of years and it worked fine. But GitHub changed their API policy which broke Staticman.
Also, spam is really hard to handle with this. I had to unplug Staticman from my site because of it.