GitHub already supports FogBugz directly. In a repository that you control, go to Admin -> Service Hooks, click on "FogBugz", and then enter your cvsSubmit URL. For a hosted install, that would be http://your.fogbugz.com/cvsSubmit.asp. GitHub provides the rest of the Please see this post for detailed instructionsright on their page.
If what you want instead is hooks to a
For non-GitHub –hosted repositorygit, we do not currently include hooks for Git with hook scripts, but you can try this integration created by another FogBugz .user: http://www.fogcreek.com/FogBugz/blog/post/Git-Integration.aspx