docs: def commit(filename):
      """Commit (git) a specified file
  
      This method does the same than a ::
  
          $ git commit -a "message"
  
      Keyword Arguments:
          :filename: (str) -- name of the file to commit
  
      Returns:
          <nothing>
      """
      try:
          repo = Repo()
          # gitcmd = repo.git
          # gitcmd.commit(filename)
          index = repo.index
          index.commit("Updated file: {0}".format(filename))
      except Exception as e:
          print("exception while commit: %s" % e.message)