title: Where to put gitIgnore file in Android Studio?
body: <p>I am developing an app and I must take that project to GitHub. Now, I must make gitIgnore file. I know that file is used to ignore some specified files from my project. I used gitIgnore.io service and I received generated file. This is my gitIgnore file:</p>
  
  <pre><code># Created by https://www.gitignore.io/api/android
  
  ### Android ###
  # Built application files
  *.apk
  *.ap_
  
  # Files for the ART/Dalvik VM
  *.dex
  
  # Java class files
  *.class
  
  # Generated files
  bin/
  gen/
  out/
  
  # Gradle files
  .gradle/
  build/
  
  # Local configuration file (sdk path, etc)
  local.properties
  
  # Proguard folder generated by Eclipse
  proguard/
  
  # Log Files
  *.log
  
  # Android Studio Navigation editor temp files
  .navigation/
  
  # Android Studio captures folder
  captures/
  
  # Intellij
  *.iml
  .idea/workspace.xml
  
  # Keystore files
  *.jks
  
  ### Android Patch ###
  gen-external-apklibs
  </code></pre>
  
  <p>But I don't know were to copy this, and where to put that in my Android project.
  Could someone help me?</p>
  
  <p>I copied this file into my gitIgnore file in Android Studio, but when I have pushed that project on gitHub my gitnigore file looks like this:</p>
  
  <pre><code>*.iml
  .gradle
  /local.properties
  /.idea/workspace.xml
  /.idea/libraries
  .DS_Store
  /build
  /captures
  </code></pre>
  
  <p>So, that files that I copied into Android Studio are not here. What is the problem?</p>