title: GIT clone not getting files starting with a dot (.htaccess,.htpasswd)
body: <p>I'm cloning a repository from Github with GIT, in a remote environment running CentOs, using:</p>
  
  <pre><code>git clone https://myuser:mypass@github.com/Myrepository/repo.git
  </code></pre>
  
  <p>and is checking out all the files, except the ones starting with a dot</p>
  
  <blockquote>
    <p>.htaccess
    .htpasswd</p>
  </blockquote>
  
  <p>Notes:</p>
  
  <ol>
  <li>The missing files show up on the Github repository</li>
  </ol>
  
  <p><img src="https://i.imgur.com/oWcwF6D.png" alt="github"></p>
  
  <ol start="2">
  <li>These files are not included in .gitignore</li>
  <li>I'm listing the files on the server by using <code>ls -a</code> command</li>
  </ol>
  
  <p><img src="https://i.imgur.com/umFCU29.png" alt="server"></p>
  
  <p><strong>Is there any flag I need to add in order to checkout these files too?</strong></p>
  
  <hr>
  
  <p><strong>[SOLUTION]</strong></p>
  
  <p>The problem wasn't with the git clone command, the missing dotfiles were due to another command executed afterwards</p>
  
  <pre><code>mv /path/one/* /path/two
  </code></pre>
  
  <p>Which moved everything except the dotfiles.</p>
  
  <p>Thanks for your replies!</p>