Add this HTML where you want the button to appear:

To hide the watchers count, remove 'gitforked-watchers' from the class.

Then put this script at the bottom of your page:

<script src="http://gitforked.com/api/1.1/button.js" type="text/javascript"></script>