Seems I misunderstood how GitHub works. Reverting the last commit and switching branch.