Git commands
Sure, let's simplify:
Git config: Set up your name and email with Git.
Git init: Start a new Git repository.
Git clone: Copy a repository from somewhere, like GitHub.
Git add: Prepare changes to be saved.
Git status: Check what's happening in your repository.
Git commit: Save your changes with a message.
Git clean: Remove untracked files.
Git version: Check which version of Git you're using.
For branching and merging:
Git branch: See what branches exist.
Git checkout: Switch to a different branch.
Git switch: Also switch branches.
Git merge: Combine changes from different branches.
Git stash: Temporarily save changes you're not ready to commit.
Advanced Git commands:
Git reset: Go back to a specific point in time.
Git revert: Undo changes by creating a new commit.
Creating a Git repository and pushing to GitHub:
Install Git and set up a GitHub account.
Create a new repository on GitHub.
Create a local Git repository and add files.
Connect your local repository to the GitHub repository.
Push your changes to GitHub.