title: git difference does not work properly after git clone
body: <p>I have a bash script in which I have to clone and get difference of some repositories.
  I am trying to get difference between range of a date</p>
  
  <pre><code>git clone $repository 
  cd $path
  git diff master@{2019-10-1}..master@{2019-10-14} -- package.json
  </code></pre>
  
  <p>but it shows error:
  <strong>warning: Log for 'master' only goes back to Tue, 15 Oct 2019 09:51:16 +0000.</strong></p>
  
  <p>But this repository is old and has many commits.
  when I do it locally on the machine in which I had cloned same repository some weeks back I get proper difference.</p>
  
  <pre><code>$ git diff master@{2019-10-1}..master@{2019-10-14} -- package.json
  diff --git a/package.json b/package.json
  index d29ffcb..8766fde 100644
  --- a/package.json
  +++ b/package.json
  @@ -1,6 +1,6 @@
   {
     "name": "accountd",
  -  "version": "0.0.95",
  +  "version": "0.0.102",
     "main": "dist/src/index.js",
     "private": true,
     "scripts": {
  @@ -8,7 +8,8 @@
       "start-dev": "npm run build &amp;&amp; nodemon . port=5000 stage",
       "start-sand": "npm run build &amp;&amp; nodemon . port=5000 stage",
  -    "test": "nyc --extension .ts --reporter=html --reporter=cobertura --reporter=text mocha -r ts-node/register src/**/*.spec.ts --exit",
  +    "test": "mocha -r ts-node/register test/**/*.spec.ts  test/**/**/*.spec.ts --exit",
  </code></pre>
  
  <p>I want the changes made in this specific file over a period of time.</p>