connect a maven project to a GitHub
git init
git add files that you want to track by git
git commit
git add remote URL
git push -u origin
you will need to set up your local branch track by remote branch
you will need to make your email setting status open (if you make it private)