Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. GH-700/
  4. GH-700 Learning Path/
  5. Study FAQs/
  6. How do I start a Copilot app session with the right repository and context?

Study FAQ

How do I start a Copilot app session with the right repository and context?

Exam · GH-700Knowledge domain · Enhance productivity by using GitHub Copilot (20–25%)Updated Nov 19, 2026
Also asked as 2
  • How should I set the repository, environment and evidence for a new Copilot app session?
  • What must I select before asking the Copilot app to work on repository files?

Answer

Start the GitHub Copilot app session in the intended repository or folder, select where it will run, and provide the records the task needs. The client is your interface; the session contains the conversation and activity; the environment is where tools execute and files change.

  1. Use the new-session control beside Sessions and select a connected repository or folder.
  2. Choose This computer or Cloud in Environment. Cloud runs in a GitHub-hosted sandbox; local sandbox settings apply separately to tools on your computer.
  3. Choose New worktree or Current checkout, and the intended base branch. Check the resulting workspace before asking for changes.
  4. Select the session mode, model and any available effort setting. Mode governs collaboration; tool permissions separately govern execution approvals.
  5. Reference issues with #, files with @, and attach other approved material through the app's supported controls.

Use /agent to select an available custom agent when the task needs a specialist, and inspect its actual tools. Name the source of truth and ask which inputs are available or missing. For example, a release summary may need approved issues plus a local checklist; selecting a repository does not supply that checklist automatically. Confirm the agent used the intended sources before accepting its conclusions.

For an unrelated task in an active app session, /clear or /reset clears the transcript and starts fresh; /chronicle opens history and analysis. Inspect the current / picker because availability depends on context. Resetting a conversation does not undo earlier file or external changes.

References: Working with agent sessions in the GitHub Copilot app - GitHub Docs, Slash commands for the GitHub Copilot app - GitHub Docs.

Full explanation

GH-700: Manage Copilot Sessions and Context Across Clients

Study guide · GH-700

Read the full explanation →
← Back to GH-700 FAQsView learning path →

Related questions

When should I use GitHub Projects, a Copilot app project, or a repository session? →How do I identify whose Copilot credit allowance and spending limits apply? →Why can Copilot usage stop while another budget still has capacity? →Why can similar Copilot prompts consume different amounts of AI credits? →Where can I monitor Copilot AI credit usage, and what can the reports explain? →How should I choose a GitHub Copilot model for a business task? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.