A small PoC to send commits programmatically to a remote repository (i.e: GitHub). In this PoC, I use two approaches:
Using simple-git library to add to staging area the changes, commit them and push them to a remote repository.
Using GitHub's API v3 to create a commit in the repository.