Sync file between GitHub and local with GitHub API