> For the complete documentation index, see [llms.txt](https://thamizhiniyancs.gitbook.io/writeups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thamizhiniyancs.gitbook.io/writeups/ctf/2024/pico-ctf/general-skills/collaborative-development.md).

# Collaborative Development

## Challenge Description

My team has been working very hard on new features for our flag printing program! I wonder how they'll work together?

You can download the challenge files here:

* [challenge.zip](https://artifacts.picoctf.net/c_titan/177/challenge.zip)

***

## Solution

Download the given file and extract it. You can find .git directory in the given folder, which means git has been initialised. There is file named `flag.py`, which prints `Printing the flag...`.

<figure><img src="https://2035863894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvlUrxK6i7ZNmn3d6e8B%2Fuploads%2FNG997PJyHDLDEvtnPY91%2Fimage.png?alt=media&amp;token=692c408c-d484-488d-83bf-c4d1e6fc9a6b" alt=""><figcaption></figcaption></figure>

Since the challenge name is collaborative development, I looked out for other git branches and found three branches. The flag has been broken down into parts, each part is given in each branch.

<figure><img src="https://2035863894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjvlUrxK6i7ZNmn3d6e8B%2Fuploads%2FvILcfJrx9xoH3Gpsj6E4%2Fimage.png?alt=media&amp;token=037f96ae-d3ae-4022-b2a8-6e0169a3fd50" alt=""><figcaption></figcaption></figure>

Flag: `picoCTF{t3@mw0rk_m@k3s_th3_dr3@m_w0rk_7ae8dd33}`
