How to Push a Folder to GitHub | Scribe

    How to Push a Folder to GitHub

    1
    To get started, open "Terminal" via your Dock or Applications
    2
    Navigate to your repo and use "git status" to check for missing files. As we can see here, our main branch is behind our working branch by two commits. We need to "push" changes.
    3
    Type "git add -A" and hit enter. This will add your folder and any new files to the staging area.
    4
    Type "git commit -m "commit message"" and hit enter to give your commit a description.
    5
    Type "git push origin main" and hit enter. You may have to enter your password. Git will automatically push your commit, including any new folders and files, to GitHub.