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

Exam: GH-700 — Enhancing Operational Efficiency with Agentic AI (beta)
Knowledge domain: Enhance productivity by using GitHub Copilot (20–25%)
Updated: 2026-11-19T04:47:23.190953+00:00
HTML: https://learningpathx.com/faq/GH-700/gh700-start-copilot-app-session-context.html

## Also asked as

- 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?

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](https://docs.github.com/en/copilot/how-tos/github-copilot-app/agent-sessions), [Slash commands for the GitHub Copilot app - GitHub Docs](https://docs.github.com/en/copilot/reference/github-copilot-app-reference/slash-commands).

Source: [GH-700: Manage Copilot Sessions and Context Across Clients](https://learningpathx.com/guide/GH-700/gh-700-manage-copilot-sessions-and-context-across-clients.html)
