Optimal Practices for Integrating npm with Git?

How can I synchronize versioning between npm releases and git snapshots? For example:

initializeRepo();
stageFiles();
commitRepo('v1.0.0');
deployModule();

How do I correlate npm version updates with corresponding git commits?

hey, i usually tag my commits after publishin npm changes so the package.json version ties in. its not automtic but helps me track release issues better. cheers