title: Get changed files using gitpython
body: <p>I want to get a list of changed files of the current git-repo. The files, that are normally listed under <code>Changes not staged for commit:</code> when calling <code>git status</code>. </p>
  
  <p>So far I have managed to connected to the repository, pulled it and show all untracked files: </p>
  
  <pre><code>from git import Repo
  repo = Repo(pk_repo_path)
  o = self.repo.remotes.origin
  o.pull()[0]
  print(repo.untracked_files)
  </code></pre>
  
  <p>But now I want to show all files, that have changes (not commited). Can anybody push me in the right direction? I looked at the names of the methods of <code>repo</code> and experimented for a while, but I can't find the correct solution. </p>
  
  <p>Obviously I could call <code>repo.git.status</code> and parse the files, but that isn't elegant at all. There must be something better. </p>
  
  <hr>
  
  <p>Edit: Now that I think about it. More usefull would be a function, that tells me the status for a single file. Like: </p>
  
  <pre><code>print(repo.get_status(path_to_file))
  &gt;&gt;untracked
  print(repo.get_status(path_to_another_file))
  &gt;&gt;not staged
  </code></pre>