The function of ENSG00000163961 (RNF168, ring finger protein 168) is as follows. E3 ubiquitin-protein ligase required for accumulation of repair proteins to sites of DNA damage. Acts with UBE2N/UBC13 to amplify the RNF8-dependent histone ubiquitination. Recruited to sites of DNA damage at double-strand breaks (DSBs) by binding to ubiquitinated histone H2A and H2AX and amplifies the RNF8-dependent H2A ubiquitination, promoting the formation of 'Lys-63'-linked ubiquitin conjugates. This leads to concentrate ubiquitinated histones H2A and H2AX at DNA lesions to the threshold required for recruitment of TP53BP1 and BRCA1. Also recruited at DNA interstrand cross-links (ICLs) sites and promotes accumulation of 'Lys-63'-linked ubiquitination of histones H2A and H2AX, leading to recruitment of FAAP20/C1orf86 and Fanconi anemia (FA) complex, followed by interstrand cross-link repair. H2A ubiquitination also mediates the ATM-dependent transcriptional silencing at regions flanking DSBs in cis, a mechanism to avoid collision between transcription and repair intermediates. Also involved in class switch recombination in immune system, via its role in regulation of DSBs repair. Following DNA damage, promotes the ubiquitination and degradation of JMJD2A/KDM4A in collaboration with RNF8, leading to unmask H4K20me2 mark and promote the recruitment of TP53BP1 at DNA damage sites. Not able to initiate 'Lys-63'-linked ubiquitination in vitro; possibly due to partial occlusion of the UBE2N/UBC13-binding region. Catalyzes monoubiquitination of 'Lys-13' and 'Lys-15' of nucleosomal histone H2A (H2AK13Ub and H2AK15Ub, respectively). {ECO:0000255|HAMAP-Rule:MF_03066, ECO:0000269|PubMed:19203578, ECO:0000269|PubMed:19203579, ECO:0000269|PubMed:20550933, ECO:0000269|PubMed:22373579, ECO:0000269|PubMed:22705371, ECO:0000269|PubMed:22713238, ECO:0000269|PubMed:22742833, ECO:0000269|PubMed:22980979, ECO:0000269|PubMed:23760478, ECO:0000269|PubMed:27153538}.