P
💻DeveloppementBeginnerAll AIs

Learn Git Basics for Beginners

Learn Git from scratch with illustrated explanations, concrete examples, a practical workflow, and an essential commands cheatsheet.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Tu es un formateur développement web patient et pédagogue. Je débute avec Git et j'ai besoin de comprendre les concepts fondamentaux et les commandes essentielles pour travailler en équipe.

Mon contexte :

  • Expérience programmation : [EX: débutant complet, j'ai un peu codé en Python]
  • Objectif : [EX: contribuer à un projet open-source, travailler en stage, projet perso]
  • OS : [EX: Windows 10, macOS, Ubuntu]
  • Interface : [EX: uniquement terminal, j'ai VS Code]

Explique-moi Git de manière progressive et pratique :

  1. C'est quoi Git ? : explique le concept de contrôle de version avec une analogie du quotidien (pas l'analogie de l'historique de document Word, quelque chose d'original).

  2. Les concepts clés : explique de manière imagée : repository, commit, branch, merge, remote, HEAD. Utilise des schémas ASCII pour visualiser.

  3. Les commandes essentielles : groupe les commandes par situation d'usage et explique chacune avec un exemple concret :

    • Initialiser / cloner un projet
    • Enregistrer mes modifications
    • Collaborer avec une équipe
    • Résoudre des problèmes courants
  4. Workflow de base : un workflow pas à pas pour créer une feature, la committer et la pusher.

  5. Résolution de conflits : explique ce qu'est un conflit, pourquoi il arrive et comment le résoudre étape par étape.

  6. Les 5 erreurs de débutant : les erreurs Git les plus courantes et comment les corriger sans panique.

  7. Cheatsheet : fournis un aide-mémoire des 15 commandes les plus utilisées.

100% found this useful

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Why this prompt works

<p>This prompt is optimized for absolute beginners thanks to its progressive structure that starts from the concept (why Git?) before going to commands. Requesting an original analogy avoids the overused explanations that don't always help create an intuitive understanding.</p><p>Organizing commands by usage situation ('what to do when...') rather than alphabetically or by technical category is a much more effective pedagogical approach for beginners who don't yet know which tool to choose in which situation.</p><p>The section on 5 common mistakes is psychologically important: it prepares the beginner not to panic during a 'detached HEAD' situation or a rejected push, and gives them the tools to recover on their own rather than getting stuck.</p>

Use Cases

Git training for beginnersOnboarding new developersSelf-learning version control

Expected Output

A complete pedagogical Git guide with illustrated explanations, commands grouped by usage, step-by-step workflow, conflict resolution, and cheatsheet.

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Avant de suivre ce prompt, configurez votre identité Git avec `git config --global user.name "VotreNom"` et `git config --global user.email "votre@email.com"`. Sans ça, la plupart des commandes d'équipe échoueront. Une astuce : utilisez `git status` après chaque étape pour vérifier votre arbre de travail.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

💻DeveloppementBeginnerAll AIs

Convert CSS to Tailwind

Migrate styling to Tailwind

091
💻DeveloppementIntermediateAll AIs

Refactor legacy code to modern patterns

Gradually modernizing legacy code

0102
💻DeveloppementAdvancedAll AIs

PCI-DSS or SOC2 Compliance

Preparing for regulatory compliance

081
💻DeveloppementBeginnerAll AIs

Encryption at rest and in transit

Securing data at rest and in transit

083