title: .gitignore not ignore tfvars and .terraform directory
body: <p>It appears that my .gitignore is not correct as expected.</p>
  
  <pre><code>$ git status
  On branch master
  
  No commits yet
  
  Changes to be committed:
    (use "git rm --cached &lt;file&gt;..." to unstage)
  
          new file:   .gitignore
          new file:   win_2016_datacentre_vm/.terraform/plugins/linux_amd64/lock.json
          new file:   win_2016_datacentre_vm/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.16.0_x4
          new file:   win_2016_datacentre_vm/aos-1.tfvars
          new file:   win_2016_datacentre_vm/aos-1.v1/.terraform/plugins/linux_amd64/lock.json
          new file:   win_2016_datacentre_vm/aos-1.v1/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.16.0_x4
          new file:   win_2016_datacentre_vm/aos-1.v1/aos-1.plan
          new file:   win_2016_datacentre_vm/aos-1.v1/aos-1.tf
          new file:   win_2016_datacentre_vm/aos-1.v1/aos-1.tfvars
          new file:   win_2016_datacentre_vm/aos-1.v1/terraform.tfstate
          new file:   win_2016_datacentre_vm/aos-1.v1/terraform.tfstate.backup
  
  
  Changes not staged for commit:
    (use "git add &lt;file&gt;..." to update what will be committed)
    (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
  
          modified:   .gitignore
  
  $ cat .gitignore
  # Local terraform directories
  docker/*
  terraform-getting-started/*
  terraform-getting-started.zip
  **/.terraform/**
  */**/.tfvars
  *.tfstate
  </code></pre>
  
  <p>What makes me wonder is even though I have added .terraform, *.tfvars and *.tfstate why is reporting them in git status?</p>
  
  <p>Also should I be committing tfstate to repository?</p>
  
  <p>Your assistance will be much appreciated.</p>
  
  <p>Thank you</p>