Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9012065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:54:05+00:00 2026-06-16T02:54:05+00:00

I am investigating the possibility of using Git for code management for my Company.

  • 0

I am investigating the possibility of using Git for code management for my Company. I have 2 questions in this regard:

  1. We want extensive logs on each “clone” or “code access” per user. There has been past incidents where the 3rd party consultants tried to access the company’s I.P., but there activities were logged. As of now, when I clone a Git repository, there is no log showing access of any such code.

    • Where must I get logs for this information?

    • More than that, if Git repository is cloned by some engineer, can we still get logs of further “cloning”, if someone tries to clone from them?

  2. Within same Git repository, is there a way to control access of certain parts of code?
    For example, consider a repository named TOP_DIR with two subdirectories, TOP_DIR/DIR_GLOBAL and TOP_DIR/DIR_SECURE. I want to give read/write access on DIR_SECURE to only few team members, but full read/write to almost everyone for DIR_GLOBAL.

Any pointers in these regards will be highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:54:06+00:00Added an answer on June 16, 2026 at 2:54 am

    Thanks for various inputs, this is what I ended up doing:–
    (1) On server, I created 3 type of accounts.
    (a) sudo ‘ers account
    (b) admin for repository — linux group to control access of repository
    (c) git user accounts with shell=/usr/bin/git-shell (so they cannot login directly)–added them with the same linux group.

    The passwords were mailed to each team member. Whenever they access the system, ssl library records their access at /etc/log/auth_user.log. These logs are not quite enough, but some-where to start with.

    Why I did not choose gitolite: Purpose of gitolite is to control access of selective parts of repository. Also, the product is not tested aggressively (as I can see lot of bugs still open) and more so, it does not log the access, nor can it differentiate b/w clone, or any other API. I am thinking of changing git code for being more verbose.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently investigating the possibility to use custom attributes derived from ActionFilterAttribute. I want
I'm investigating the possibility of using the Peer 2 Peer along with WCF in
I'm actually investigating the possibility to have an application that fulfill the following requirements:
I was investigating some framework code (the System.AppDomain.GetDynamicDir method) and this was all the
Right now i have code that initiates transactions on SQL Server using the intended
Im investigating the possibility of re-writing some code that bottlenecks on disk writes into
I am currently investigating using NServiceBus to solve the following problem. I just want
I'm investigating the possibility of making a single http request using python to retrieve
Based on one answer to an earlier post , I'm investigating the possibility of
Previously I have been investigating several solutions how to register with email address instead

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.