A paragraph or two down the page you linked.
import git import fs handle = fs.open('config.php', 'w+') config = handle.read() git.start('./') git.auth('rsa_pub') git.clone('git@github.com:foo/bar.git') git.remove_untracked() handle.write('config.php', config)
A paragraph or two down the page you linked.