title: Git-lfs: Not in a git repository error when downloading cBioPortal files onto Google Colab
body: <p>I want to download the <code>gbm_tcga_pub2013</code> dataset from cBioPortal (<a href="https://www.cbioportal.org/study/summary?id=gbm_tcga_pub2013" rel="nofollow noreferrer">https://www.cbioportal.org/study/summary?id=gbm_tcga_pub2013</a>) using <code>git-lfs</code> onto Google Colab. I receive a <code>Not in a git repository.</code> error</p>
  <pre><code>!curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
  !sudo apt-get install git-lfs
  !git lfs install --skip-repo --skip-smudge
  !git clone https://github.com/cBioPortal/datahub.git
  !cd datahub
  !git lfs install --local --skip-smudge
  !git lfs pull -I public/gbm_tcga_pub2013
  </code></pre>
  <p>Traceback:</p>
  <pre><code>Not in a git repository.
  Not in a git repository.
  </code></pre>
  <p>Even though I was able to change directory to <code>/datahub</code>, my working directory as per <code>pwd</code> is still <code>root</code>.</p>