code: def write_amendment(self, amendment_id, file_content, branch, author):
          
          gh_user = branch.split('_amendment_')[0]
          msg = "Update Amendment '%s' via OpenTree API" % amendment_id
          return self.write_document(gh_user,
                                     amendment_id,
                                     file_content,
                                     branch, author,
                                     commit_msg=msg)
docs: Given an amendment_id, temporary filename of content, branch and auth_info
  
          Deprecated but needed until we merge api local-dep to master...