1. Download Git for window from this site http://git-scm.com/download/win and Install it.

2. .go to android studio , in Menu select File -> Settings.

3.In the setting, On the left side, select Version Control -> Git

4. Now on left side ,Path to Git executable -> Add-> C:\Program Files (x86)\Git\bin\git.exe  .             Perform Test.

steps:-
 
 5. go to android studio , in Menu select VCS -> Enable Version Control Integration -> Git

 6. Go to https://github.com and create your account.

7. In  android studio , in Menu select VCS -> Import Into Version Control -> Share Project On github

8. Add Login details of your account of github.com

9. give New Repository Name and add details. click on OK

10.at the bottom of android studio , it shows "Pushing to github Master"

11. Go to github.com and check all updated files in your new project.

12. In toolbar, Up arrow(Green) and Down Arrow (Blue) with name VCS use for update new changes to repository.

13. Check above video from 6:00 to see how to push and pull new changes in program to github.