GitHub time tracking: commits and hours on the same task

GitHub App · commits on tasks · hours from the desktop app · ₹120/user/month + GST

On this page
Read the overview

Trakkar links GitHub commits to the tasks your developers track time against. Put # and a task's code, like ACM-142, in a commit message, and once the commit reaches the default branch of a connected repository, it shows up on that task, beside the hours. It suits development teams and software agencies in India that want hours and code together when they review work or bill a client. Pricing is ₹120 per user per month plus GST, paid upfront for 6 or 12 months, with a 14-day free trial.

This page is for development teams and software agencies in India that keep code on GitHub and track hours in Trakkar, or are thinking about it. It covers setup, how a commit finds its task, linking by hand, the limits, the price and when another setup suits you better.

For time tracking aimed at developers in general, see time tracking software for developers. IT services firms weighing project margins and attendance can start with time tracking software for IT services.

Related: All Trakkar integrations, Azure DevOps commit linking, Download the desktop app.

What the GitHub integration does

Your developers already describe their work in commit messages. Once GitHub is connected and your repositories are mapped to projects, a commit that mentions a task's code is attached to that task when it lands on the default branch. The task lists it with a short SHA, the first line of the message, the commit time and a link back to GitHub.

The hours don't move. People track time against the same task in the Trakkar desktop app, or add manual entries on the web, so time and code end up side by side. A tech lead reviewing a task sees how long it took and what was pushed. An agency owner can point to the commits behind a block of billable hours when a client asks what they paid for.

It works with commits only. There's no timer inside GitHub, and GitHub issues and pull requests aren't brought into Trakkar.

Set up GitHub in Trakkar

You need a Trakkar admin, plus access to install apps on the GitHub account that owns your repositories.

  1. In the Trakkar web app, an admin opens Settings, then Integrations, and connects GitHub.
  2. Install the Trakkar GitHub App on your GitHub organization or personal account. GitHub sends you back to Trakkar when the install is done.
  3. Open a project in Trakkar, go to its Settings tab and find Repositories. Link a repository from the list of repositories the app can reach. A project can hold more than one repository.
  4. Repeat for every project that has code behind it. Only admins and the project's lead can change a project's repositories.
  5. Ask developers to add # and the task code to their commit messages from the next push onward.

Some client code in Azure Repos? Once Azure DevOps is enabled too, the same Repositories section takes those repositories. See Azure DevOps time tracking for its setup.

How a commit finds its task

Every task in Trakkar has a short code made of its project's prefix and a number, like ACM-142. Open the task and you'll see the code at the top, with a copy button beside it. Older 7-character codes still link too.

Write # and the code anywhere in the commit message, with no space in between, for example "Add UPI retry to checkout #ACM-142". When that commit is on the repository's default branch, Trakkar attaches it to the task.

  • The match only counts for tasks in projects the repository is mapped to, so a code from another client's project won't attach by mistake.
  • A commit that mentions two task codes is linked to both tasks.
  • Commits on a feature branch link once they reach the default branch. If you squash pull requests when you merge, only the squashed commit gets there, so keep the task code in its message.
All details: How a commit finds its task
  • The match only counts for tasks in projects the repository is mapped to, so a code from another client's project won't attach by mistake.
  • A commit that mentions two task codes is linked to both tasks.
  • Commits on a feature branch link once they reach the default branch. If you squash pull requests when you merge, only the squashed commit gets there, so keep the task code in its message.

Linking or unlinking a commit by hand

Someone forgot the code, or a commit also belongs to a second task. Anyone who can edit the task can paste the commit's GitHub URL into it, and Trakkar adds the link.

The repository has to be mapped to the task's project first. If it isn't, an admin or the project's lead adds it in the project's Repositories section, then you paste the URL again.

Unlinking works from the same place, and Trakkar offers an Undo in case you unlink the wrong commit.

Hours and commits in reviews and client billing

Say you run a 15-person software agency in Pune with three client projects, each with its own repository. A normal month could look like this:

  1. Each client project in Trakkar has its repository mapped, and its tasks are marked billable.
  2. A developer picks up "Add UPI retry to checkout", starts a session on it in the desktop app, and pushes commits that carry the task's code.
  3. When the pull request is merged into the default branch, the commits appear on the task, next to the hours from the session.
  4. In the weekly review, the tech lead opens the task and sees the hours and the commits together.
  5. At month end, you check the billable hours and build the client's invoice line by line, and the commits are there if the client asks what a line covers.

Admins set hourly bill and cost rates for each person on a project. Once margins are turned on, each project shows its value, what it has cost so far and its margin. Invoices can be GST invoices with the client's GSTIN, or in US dollars, pounds, Australian or Canadian dollars, or Swiss francs for clients abroad. Hours don't become invoice lines by themselves, and neither do commits. More on that in billable hours tracking.

Clients can follow along too. Share a project through the client portal and the client sees its tasks, hours and invoices.

Where the hours come from

Commits never turn into time entries. Each developer starts a session against a task in the Trakkar desktop app for Windows 10 or later and macOS 11 or later. If the keyboard and mouse sit untouched for the idle limit (5 minutes by default, and admins can change it), the session stops with the idle minutes marked, and the developer presses Start to carry on.

On projects that allow it, a developer can also log time on a task by hand, with a note, for any day in the last 30. That time counts straight away. Time the tracker missed goes to the manager as a time correction and counts once approved.

The desktop app also takes screenshots and records the apps and websites in use, keeping only site names. If your developers would rather work without screenshots, an admin can turn them off for anyone, and app and website tracking can be switched off per person as well. Download the desktop app for Windows or macOS.

Limits to check before you roll it out

  • Only pushes to the default branch link on their own.
  • A link never creates, changes or approves a time entry.
  • The # has to be followed straight away by the code. "# ACM-142" with a space won't link.
  • Commit linking covers GitHub and Azure DevOps. Code hosted anywhere else can't be linked.
All details: Limits to check before you roll it out
  • Only pushes to the default branch link on their own.
  • A link never creates, changes or approves a time entry.
  • The # has to be followed straight away by the code. "# ACM-142" with a space won't link.
  • Commit linking covers GitHub and Azure DevOps. Code hosted anywhere else can't be linked.

When Trakkar is not the right fit

  • You want hours calculated from commit activity. In Trakkar, time comes from tracked sessions or time logged on a task by hand, never from commits.
  • You want to log time inside GitHub issues. Your tasks live in Trakkar, and GitHub only supplies the commits.
  • You only want a commit history. GitHub already gives you that. Trakkar earns its place when you also track hours, run projects and bill clients.
All details: When Trakkar is not the right fit
  • You want hours calculated from commit activity. In Trakkar, time comes from tracked sessions or time logged on a task by hand, never from commits.
  • You want to log time inside GitHub issues. Your tasks live in Trakkar, and GitHub only supplies the commits.
  • You only want a commit history. GitHub already gives you that. Trakkar earns its place when you also track hours, run projects and bill clients.

Comparing tools for a whole IT services firm? Time tracking software for IT services goes deeper on margins, attendance and invoicing.

What GitHub time tracking costs

There's no separate charge for the GitHub integration. Trakkar costs ₹120 per user per month plus 18% GST, paid upfront for 6 months (₹114 per user per month, 5% off) or 12 months (₹108 per user per month, 10% off). There's no monthly billing, no setup fee and no minimum number of users. Outside India, it's $5 per user per month.

Trakkar for a development team, paid upfront, including 18% GST
Team size6 months upfront12 months upfront
5 people₹4,036₹7,646
10 people₹8,071₹15,293
25 people₹20,178₹38,232

Trakkar has no refunds, so connect a real repository during the 14-day free trial and push a few commits with task codes before you pay. The trial works for any number of users and needs no card.

Teams of 5 or more can also pay once on the lifetime plan: ₹3,999 per seat for 5 to 10 seats, ₹3,599 for 11 to 25 and ₹3,199 for 26 to 50, plus GST. It's limited to 100 companies.

100+ teams use Trakkar. Start a free trial or book a 30-minute demo.

Trusted by 100+ teams across India

  • A2 Digital
  • Drafticode
  • Shri Genesis
  • Teknostark
  • Webchink
  • Satya Kabir E-solutions

Frequently asked questions

Does a linked commit add time to the task?

No. A link only attaches the commit. Hours come from sessions in the Trakkar desktop app or from time someone logs on the task by hand.

Which branch does a commit need to be on?

The repository's default branch. Pushes to other branches are skipped, so commits on a feature branch link once they reach the default branch.

Where do I find a task's code?

Open the task: the code is at the top, next to a copy button. It's the project's prefix and a number, like ACM-142. Put it straight after a # in the commit message.

Can one commit link to more than one task?

Yes. Put each task's code in the message and the commit links to all of them, as long as each task belongs to a project the repository is mapped to.

Does Trakkar read GitHub issues or pull requests?

No. The integration listens for pushes and reads the commits in them. Tasks, statuses and comments live in Trakkar.

Do developers need a Trakkar account for their commits to link?

No. Trakkar matches the task code in the commit message, not the person who pushed it. People need a Trakkar seat if they track time or work on tasks in Trakkar.

Does the GitHub integration cost extra?

No. It's included in the per-user price of ₹120 per user per month plus GST, paid upfront for 6 or 12 months. Outside India, it's $5 per user per month.

Which computers does the desktop app run on?

Windows 10 or later, and macOS 11 or later on Apple silicon or Intel Macs. Commits link no matter which computer pushed them, because Trakkar only reads the task code in the message.

See commits and hours on the same task

₹120/user/month + GST ($5/user/month outside India), paid upfront for 6 or 12 months. 14-day free trial for any number of users, no credit card. Every module is included.