I had the same question as asked here: New git repository in root directory to subsume an exist repository in a sub-directory
I\'ve just followed this example from Wordpress and I have successfully added an extra Meta Box in Post interface, and the value is stored in DB.