Basic Git Commands
Below are some essential Git commands to get started or check out the Git cheatsheet
Create a new repository:
git init
Add files to staging area:
git add <file_name>
Commit changes:
git commit -m "Commit message"
View commit history:
git log
Additional Tips
- using_ssh_keys_with_github: If you're working with remote repositories, you'll likely need to set up SSH keys for authentication.
- Git configuration files: Your Git configuration is stored in `.gitconfig` file in your home directory.
- Git aliases: Create custom shortcuts for frequently used commands.
- Git branches: Use branches to manage different versions of your project.
For more in-depth information and advanced topics, refer to the official Git documentation: [https://git-scm.com/doc](https://git-scm.com/doc)