how to push my repository to github code example Example 1: how to push repository to github $ git init -b main Example 2: how to add a repository to github git & github