```
graph TD
    %% Definitions
    start_node["Error: 'Project with that name
already exists'."]
    is_project_in_dev_branch{"1: Does the project
exist in a
 development branch?"}
    check_delete_in_ide["1A: Delete project in IDE,
commit, and deploy."]
    is_git_reset_effective{"2: Does resetting the
Git connection resolve it?"}
    is_project_pending{"3: Is the project
 in 'Pending Projects'?"}
    check_delete_pending_model["3A: Delete the pending
model configuration."]
    is_bare_repo{"4: Is the project
 using a bare repo?"}
    check_server_cleanup["4A: Admin: Manually delete
Git folders on Looker instance."]
    delete_project_via_api["5: Delete project
using an API call."]


    %% Connections
    start_node --> is_project_in_dev_branch
    is_project_in_dev_branch -- Yes --> check_delete_in_ide
    is_project_in_dev_branch -- No --> is_git_reset_effective
    is_git_reset_effective -- No --> is_project_pending
    is_project_pending -- Yes --> check_delete_pending_model
    is_project_pending -- No --> is_bare_repo
    is_bare_repo -- Yes --> check_server_cleanup
    is_bare_repo -- No --> delete_project_via_api

    %% Styling
    classDef start fill:#C6DAF7,stroke:#000,stroke-width:2px,font-weight:normal,font-size:16px;
    class start_node start

    classDef decision fill:#FEF6E0,stroke:#000,stroke-width:2px,font-weight:normal,font-size:16px;
    class is_project_in_dev_branch,is_git_reset_effective,is_project_pending,is_bare_repo decision

    classDef solution fill:#E0FEF6,stroke:#000,stroke-width:2px,font-weight:normal,font-size:16px;
    class check_delete_in_ide,check_delete_pending_model,check_server_cleanup,delete_project_via_api solution

    classDef ending fill:#D8EED8,stroke:#000,stroke-width:2px,font-weight:normal,font-size:16px;

    %% Click events
    click is_project_in_dev_branch href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#dev-branches"
    click check_delete_in_ide href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#dev-branches"
    click is_git_reset_effective href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#reset-git"
    click is_project_pending href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#pending-projects"
    click check_delete_pending_model href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#pending-projects"
    click is_bare_repo href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#bare-repos"
    click check_server_cleanup href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#bare-repos"
    click delete_project_via_api href "https://docs.cloud.google.com/looker/docs/best-practices/troubleshooting-git-project-already-exists#api-deletion"

```