title: Java files are not being pushed to github
body: <p>Android studio is not pushing java files to github. I found that it only pushed the src folder with the res (layouts and xml docs) folder. I tried adding the java folder to it (right click, add, then commit directory, and push), but it still does not push the java files to git.</p>
  
  <p>Used this setup:
  <a href="https://www.londonappdeveloper.com/how-to-use-git-hub-with-android-studio/" rel="nofollow">https://www.londonappdeveloper.com/how-to-use-git-hub-with-android-studio/</a></p>
  
  <p>.gitignore:</p>
  
  <pre><code>.gradle
  /local.properties
  /.idea/workspace.xml
  /.idea/libraries
  .DS_Store
  /build
  </code></pre>
  
  <p>When I right click on the Main folder (which holds the java files) and select commit directory, I get the following error:</p>
  
  <pre><code>Error:On branch master
  nothing to commit, working directory clean
   during executing git commit --only -F C:\Users\mmm\AppData\Local\Temp\git-commit-msg-999645.txt -- MainActivity.java
  </code></pre>